home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / lpr / RCS / lp.local.h,v < prev    next >
Encoding:
Text File  |  1990-02-16  |  3.1 KB  |  165 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.3
  10. date     90.02.16.13.52.05;  author rab;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     89.01.11.08.56.18;  author rab;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     88.11.23.10.31.47;  author rab;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @Changes for sparcStation.
  32. @
  33. text
  34. @/*
  35.  * Copyright (c) 1983 Regents of the University of California.
  36.  * All rights reserved.
  37.  *
  38.  * Redistribution and use in source and binary forms are permitted
  39.  * provided that this notice is preserved and that due credit is given
  40.  * to the University of California at Berkeley. The name of the University
  41.  * may not be used to endorse or promote products derived from this
  42.  * software without specific prior written permission. This software
  43.  * is provided ``as is'' without express or implied warranty.
  44.  *
  45.  *    @@(#)lp.local.h    5.2 (Berkeley) 5/5/88
  46.  */
  47.  
  48. /*
  49.  * Possibly, local parameters to the spooling system
  50.  */
  51.  
  52. /*
  53.  * Magic number mapping for binary files, used by lpr to avoid
  54.  *   printing objects files.
  55.  */
  56.  
  57. #include <a.out.h>
  58. #include <ar.h>
  59. #ifdef sprite
  60. #include <sys/param.h>
  61. #endif
  62.  
  63. #ifndef A_MAGIC1    /* must be a VM/UNIX system */
  64. #    define A_MAGIC1    OMAGIC
  65. #    define A_MAGIC2    NMAGIC
  66. #    define A_MAGIC3    ZMAGIC
  67. #    undef ARMAG
  68. #    define ARMAG    0177545
  69. #endif
  70.  
  71. /*
  72.  * Defaults for line printer capabilities data base
  73.  */
  74. #define    DEFLP        "lp"
  75. #define DEFLOCK        "lock"
  76. #define DEFSTAT        "status"
  77. #define    DEFSPOOL    "/usr/spool/lpd"
  78. #define    DEFDAEMON    "/usr/lib/lpd"
  79. #define    DEFLOGF        "/dev/console"
  80. #define    DEFDEVLP    "/dev/lp"
  81. #define DEFRLPR        "/usr/lib/rlpr"
  82. #define DEFBINDIR    "/usr/ucb"
  83. #define    DEFMX        1000
  84. #define DEFMAXCOPIES    0
  85. #define DEFFF        "\f"
  86. #define DEFWIDTH    132
  87. #define DEFLENGTH    66
  88. #define DEFUID        1
  89.  
  90. /*
  91.  * When files are created in the spooling area, they are normally
  92.  *   readable only by their owner and the spooling group.  If you
  93.  *   want otherwise, change this mode.
  94.  */
  95. #define FILMOD        0660
  96.  
  97. /*
  98.  * Printer is assumed to support LINELEN (for block chars)
  99.  *   and background character (blank) is a space
  100.  */
  101. #define LINELEN        132
  102. #define BACKGND        ' '
  103.  
  104. #define HEIGHT    9        /* height of characters */
  105. #define WIDTH    8        /* width of characters */
  106. #define DROP    3        /* offset to drop characters with descenders */
  107.  
  108. /*
  109.  * path name of files created by lpd.
  110.  */
  111. #ifdef sprite
  112. char masterLock[MAXPATHLEN];
  113. char pdevName[MAXPATHLEN];
  114. #else
  115. #define MASTERLOCK "/usr/spool/lpd.lock"
  116. #define SOCKETNAME "/dev/printer"
  117. #endif
  118.  
  119. /*
  120.  * Some utilities used by printjob.
  121.  */
  122. #ifdef sprite
  123. #define PR        "/sprite/cmds/pr"
  124. #define MAIL        "/sprite/cmds/sendmail"
  125. #else
  126. #define PR        "/bin/pr"
  127. #define MAIL        "/usr/lib/sendmail"
  128. #endif
  129.  
  130. /*
  131.  * Define TERMCAP if the terminal capabilites are to be used for lpq.
  132.  */
  133. #define TERMCAP
  134.  
  135. /*
  136.  * Maximum number of user and job requests for lpq and lprm.
  137.  */
  138. #define MAXUSERS    50
  139. #define MAXREQUESTS    50
  140.  
  141. @
  142.  
  143.  
  144. 1.2
  145. log
  146. @*** empty log message ***
  147. @
  148. text
  149. @d90 2
  150. a91 2
  151. #define PR        "/sprite/cmds.sun3/pr"
  152. #define MAIL        "/sprite/cmds.sun3/sendmail"
  153. @
  154.  
  155.  
  156. 1.1
  157. log
  158. @Initial revision
  159. @
  160. text
  161. @d79 1
  162. a79 1
  163. #define MASTERLOCK "/sprite/spool/lpd.lock"
  164. @
  165.